package top.mcwebsite.playandroid.business.qa.api

import androidx.compose.runtime.Composable
import androidx.navigation.NavController
import top.mcwebsite.playandroid.business.articles.api.model.ArticleModel
import top.mcwebsite.playandroid.business.qa.model.QAReplayComment

interface IQAService {

    @Composable
    fun QAPageContent(navController: NavController)

    @Composable
    fun QADetailPageContent(qaId: Long, articleModel: ArticleModel, navController: NavController)

    @Composable
    fun AnswerPageContent(
        navController: NavController,
        question: String,
        replyCommands: List<QAReplayComment>,
        index: Int
    )
}